package com.jams.goodox.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by jams_zhen on 2017/4/28.
 */

public class Constant {
    // 服务类说明
    public static final int SERVE_TYPE_COMPANY = 101; //
    public static final int SERVE_TYPE_PUBLIC= 102; //
    public static final int SERVE_TYPE_REPORT=103 ; //
    public static final int SERVE_TYPE_COMPLAINT = 104; //
    public static final int SERVE_TYPE_PRAISE = 105; //
    public static final int SERVE_TYPE_EXPRESS = 106; //

    //1商品服务小图
    public static final int SUB_TYPE_SMALL_IMG = 1;
    //2商品服务大图
    public static final int SUB_TYPE_BIG_IMG = 2;
    //3:表单服务h5;
    public static final int SUB_TYPE_H5_FORM = 3;
    //4:表单服务原生
    public static final int SUB_TYPE_APP_FORM = 4;
    //5:h5服务授权
    public static final int SUB_TYPE_H5_AUTHORITY  = 5;
    //6:h5服务不授权
    public static final int SUB_TYPE_H5 = 6;
    //7:一键服务
    public static final int SUB_TYPE_ONE_KEY_SERVER = 7;

    public static final String ACTIVE_STATUS_END="3";//

    public static final  int SEND_MESSAGE = 100;//
    public static final  int RECEIVE_MESSAGE = 101;//

    public static Map<String,String> getPagerParams(int curPage,int pageSize){
        Map<String,String> params=new HashMap<>();
        params.put("curPage", curPage + "");
        params.put("pageSize", pageSize + "");
        return params;
    }

    public static Map<String,String> getPagerParams(int curPage){
        Map<String,String> params=new HashMap<>();
        params.put("curPage", curPage + "");
        params.put("pageSize", "20");
        return params;
    }

    public static class AppFunctionName{
        public static String FAST_CAR="fast_car";
        public static String HEADER_HUNTER="head_hunter";
        public static String Company_First_Set_Pwd = "company_first_set_pwd";
    }
}
